Skip to content

gh-104010: Separate and improve docs for typing.get_origin and typing.get_args#104013

Merged
JelleZijlstra merged 6 commits intopython:mainfrom
chgnrdv:typing-separate-and-improve-get_args-get_origin-docs
May 10, 2023
Merged

gh-104010: Separate and improve docs for typing.get_origin and typing.get_args#104013
JelleZijlstra merged 6 commits intopython:mainfrom
chgnrdv:typing-separate-and-improve-get_args-get_origin-docs

Conversation

@chgnrdv
Copy link
Contributor

@chgnrdv chgnrdv commented Apr 30, 2023

Fixes #104010

  • separate documentation and examples for both functions
  • add examples demonstrating behaviour with unsupported types

📚 Documentation preview 📚: https://cpython-previews--104013.org.readthedocs.build/

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news topic-typing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

typing: Document get_origin and get_args separately

5 participants